package tech.xs.dao;

import java.util.Date;
import java.util.List;

import tech.xs.pojo.ClaimVoucher;
import tech.xs.pojo.Employee;

public interface ClaimVoucherDao {
	/**
	   * 实现list数据显示,分页,日期查询
	 * @param employee
	 * @param voucher
	 * @param s
	 * @param e
	 * @param pageNo
	 * @param pageSize
	 * @return
	 */
	public List<ClaimVoucher> findlist(Employee employee, ClaimVoucher voucher, Date date1, Date date2, int pageNo, int pageSize);
	/**
	   * 实现总条数
	 * @param employee
	 * @param voucher
	 * @param s
	 * @param e
	 * @return
	 */
	public int count(Employee employee,ClaimVoucher voucher,Date date1,Date date2);
	/**
	   * 查询报销状态
	 * @return
	 */
    public List<String> selectStatus();
    /**
             * 删除
     * @param voucher
     */
    public void delete(ClaimVoucher voucher);
    /**
	 * 添加
	 * @param claimVoucher
     * @return 
	 */
    public void save(ClaimVoucher claimVoucher);
   
    /**
     * id查询
     * @param id
     * @return
     */
    public ClaimVoucher findById(long id);
    public void update(ClaimVoucher claimVoucher);
}
